﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using MediaBot.Entities;

namespace RakutenCrawler.ConfigClass
{
    [XmlRoot("genre")]
    public class GenreConfig
    {
        [XmlElement("genreNode")]
        public MatchType GenreNode;
        [XmlElement("genreName")]
        public MatchType GenreName;
        [XmlElement("genreUrl")]
        public MatchType GenreUrl;

        [XmlElement("subGenre")]
        public SubGenre SubGenre;
    }

    public class SubGenre
    {
        [XmlElement("subGenreNode")]
        public MatchType SubGenreNode;
        [XmlElement("subGenreName")]
        public MatchType SubGenreName;
        [XmlElement("subGenreUrl")]
        public MatchType SubGenreUrl;
    }
}
